<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>会员卡管理</title>
  <link rel="stylesheet" type="text/css" href="../../../themes/default/easyui.css">
  <link rel="stylesheet" type="text/css" href="../../../themes/icon.css">
  <script type="text/javascript" src="../../../easyui/js/jquery.min.js"></script>
  <script type="text/javascript" src="../../../easyui/js/jquery.easyui.min.js"></script>
  <style>
    body {
      font-size: 14px;
      padding: 0;
      margin: 0;
      background-color: #eee;
    }
    a {
      display: inline-block;
      text-decoration: none;
      color: #000;
      padding: 0;
      margin: 0;
    }
    .title {
      width: 100%;
      height: 50px;
      line-height: 50px;
      border-bottom: 3px solid #000;
    }
    .content{
      margin-top: 20px;
      display: flex;
    }
    .search, .businesses-list, .charges-list{
      background-color: #ffffff;
      border-radius: 5px;
      overflow: hidden;
    }
    .charges-list{
      margin-left: 20px;
      flex: 1;
    }
    .form-content{
      display: flex;
      flex-wrap: wrap;
      margin-left: 20px;
      margin-bottom: 20px;
    }
    .form-item{
      height: 30px;
      line-height: 30px;
      margin-right: 20px;
      margin-top: 20px;
    }
    .form-item .btn {
      width: 80px;
      height: 30px;
      line-height: 30px;
      text-align: center;
      color: #fff;
      font-size: 16px;
      background: rgba(64, 158, 255, 1);
      border-radius: 10px;
    }
    .form-item .btn.reset{
      background-color: red;
    }
    .operation{
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin: 20px 0 0 20px;
    }
    .operation-left, .operation-right{
      display: flex;
    }
    .operation-item{
      margin-right: 20px;
      padding: 0 10px;
      height: 35px;
      line-height: 35px;
      text-align: center;
      font-size: 16px;
      border-radius: 5px;
      background: rgba(64, 158, 255, 1);
      border: 1px solid rgba(64, 158, 255, 1);
      color: #ffffff;
      cursor: pointer;
    }
    .charges-content{
      margin-top: 20px;
    }
    .confirm{
      margin-left: 10px;
      color: rgba(64, 158, 255, 1);
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="title">会员卡管理</div>
    <div class="search">
      <div class="content-title">查询</div>
      <form class="form-content" id="search-form" method="post">
        <div class="form-item">
          <label for="name">姓名：</label>
          <input class="easyui-validatebox" placeholder="请输入" type="text" id="name" name="name" style="width: 270px;height: 30px;"/>
        </div>
        <div class="form-item">
          <label for="businessName">企业名称：</label>
          <input class="easyui-validatebox" placeholder="请输入" type="text" id="businessName" name="businessName" style="width: 270px;height: 30px;"/>
        </div>
        <div class="form-item">
          <label for="membershipCardNumber">会员卡号：</label>
          <input class="easyui-validatebox" placeholder="请输入" type="text" id="membershipCardNumber" name="membershipCardNumber" style="width: 270px;height: 30px;"/>
        </div>
        <div class="form-item">
          <label for="IDNumber">证件号码：</label>
          <input class="easyui-validatebox" placeholder="请输入" type="text" id="IDNumber" name="IDNumber" style="width: 270px;height: 30px;"/>
        </div>
        <div class="form-item">
          <label for="defaultGrouping">默认分组：</label>
          <select id="defaultGrouping" class="easyui-combobox" placeholder="请选择" name="dept" style="width:130px;height: 30px;">
            <option>已登记</option>
            <option>已收费</option>
            <option>已退费</option>
          </select>
        </div>
        <div class="form-item">
          <a href="#" class="btn">查询</a>
          <a href="#" class="btn reset">重置</a>
        </div>
      </form>
    </div>
    <div class="content">
      <div class="businesses-list">
        <div class="content-title">企业列表</div>
        <ul id="tt" class="easyui-tree">
          <li>
            <span>Folder</span>
            <ul>
              <li>
                <span>Sub Folder 1</span>
                <ul>
                  <li><span><a href="#">File 11</a></span></li>
                  <li><span>File 12</span></li>
                  <li><span>File 13</span></li>
                </ul>
              </li>
              <li><span>File 2</span></li>
              <li><span>File 3</span></li>
            </ul>
          </li>
          <li><span>File21</span></li>
        </ul>
      </div>
      <div class="charges-list">
        <div class="content-title">收费列表</div>
        <div class="operation">
          <div class="operation-left">
            <div class="operation-item recharge">会员卡充值</div>
            <div class="operation-item apply-card">办卡</div>
            <div class="operation-item detail">详情</div>
          </div>
          <div class="operation-right">
            <div class="operation-item type-management">会员卡类型管理</div>
            <div class="operation-item">模板下载</div>
            <div class="operation-item recharge-record">会员卡充值记录</div>
          </div>
        </div>
        <div class="charges-content">
          <table class="easyui-datagrid" data-options="ctrlSelect:true,pagination:true">
            <thead>
              <tr>
                <th data-options="field:'a1',width:100,align:'center'">序号</th>
                <th data-options="field:'a3',width:200,align:'center'">会员卡号</th>
                <th data-options="field:'a4',width:100,align:'center'">姓名</th>
                <th data-options="field:'a5',width:50,align:'center'">性别</th>
                <th data-options="field:'a6',width:50,align:'center'">年龄</th>
                <th data-options="field:'a7',width:120,align:'center'">证件类型</th>
                <th data-options="field:'a8',width:150,align:'center'">证件号码</th>
                <th data-options="field:'a9',width:120,align:'center'">企业名称</th>
                <th data-options="field:'a10',width:100,align:'center'">联系电话</th>
                <th data-options="field:'a11',width:100,align:'center'">会员卡余额</th>
                <th data-options="field:'a11',width:100,align:'center'">赠费余额</th>
                <th data-options="field:'a11',width:100,align:'center'">会员卡类型</th>
                <th data-options="field:'a12',width:150,align:'center'">最近消费时间</th>
                <th data-options="field:'a13',width:80,align:'center'">操作</th>
              </tr>
            </thead>
            <tbody>
              <tr>
              <td>1</td>
              <td>0120549665156</td>
              <td>李锐</td>
              <td>男</td>
              <td>20</td>
              <td>居民身份证/（户口簿）</td>
              <td>140101********2565</td>
              <td>信息科技有限公司</td>
              <td>13565485691</td>
              <td>1000.00元</td>
              <td>1000.00元</td>
              <td>普通分组、企业卡</td>
              <td>2024.05.06  13:25:26</td>
              <td>
                <a href="./detail.html" class="confirm">详情</a>
              </td>
            </tr>
              <tr>
                <td>1</td>
                <td>0120549665156</td>
                <td>李锐</td>
                <td>男</td>
                <td>20</td>
                <td>居民身份证/（户口簿）</td>
                <td>140101********2565</td>
                <td>信息科技有限公司</td>
                <td>13565485691</td>
                <td>1000.00元</td>
                <td>1000.00元</td>
                <td>普通分组、企业卡</td>
                <td>2024.05.06  13:25:26</td>
                <td>
                  <a href="./detail.html" class="confirm">详情</a>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
    </div>
  </div>
  <script>
    $(function () {
      // 会员卡充值
      $(".recharge").on('click', function () {
        window.location.href = './recharge.html'
      })

      // 办卡
      $(".apply-card").on('click', function () {
        window.location.href = './apply-card.html'
      })

      // 详情
      $(".detail").on('click', function () {
        window.location.href = './detail.html'
      })

      // 会员卡类型管理
      $(".type-management").on('click', function () {
        window.location.href = './type-management/type-management.html'
      })

      // 会员卡充值记录
      $(".recharge-record").on('click', function () {
        window.location.href = './membership-card-management.html'
      })
    })
  </script>
</body>
</html>
